const incAndExp = require('express').Router();

// 收支分类
incAndExp.post('/type/add', require('./type/add'));
incAndExp.post('/type/list', require('./type/list'));
incAndExp.get('/type/delete', require('./type/delete'));
incAndExp.post('/type/edit', require('./type/edit'));

// 收支列表
incAndExp.post('/list', require('./list/list'));
incAndExp.get('/typeList', require('./list/typeList'));
incAndExp.post('/add', require('./list/add'));
incAndExp.get('/delete', require('./list/delete'));
incAndExp.post('/edit', require('./list/edit'));

// 导出路由
module.exports = incAndExp;